package com.shuda.business.monitor.vo;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 监控告警配置VO类：移除Lombok，提供显式访问器，确保Service层使用时方法可见。
 */
@Schema(name = "MonitorAlertConfigVO", description = "监控告警配置VO")
public class MonitorAlertConfigVO {

    @Schema(description = "告警名称")
    private String alertName;

    @Schema(description = "告警类型(success_rate-成功率,processing_time-处理时间,exception_count-异常数量,data_volume-数据量)")
    private String alertType;

    @Schema(description = "告警级别(info-信息,warning-警告,critical-严重)")
    private String alertLevel;

    @Schema(description = "告警方式(email-邮件,sms-短信,webhook-接口)")
    private String alertMethod;

    @Schema(description = "是否启用(0-禁用,1-启用)")
    private Integer enabled;

    /**
     *
     * MonitorAlertConfigVO 访问器
     * @param $params$
     * @return $returns$
     * @author ink
     * @Description: 显式提供getter/setter，避免Lombok缺失导致方法未生成
     * @date 2025-11-09 10:45
     */
    public String getAlertName() { return alertName; }
    public void setAlertName(String alertName) { this.alertName = alertName; }

    public String getAlertType() { return alertType; }
    public void setAlertType(String alertType) { this.alertType = alertType; }

    public String getAlertLevel() { return alertLevel; }
    public void setAlertLevel(String alertLevel) { this.alertLevel = alertLevel; }

    public String getAlertMethod() { return alertMethod; }
    public void setAlertMethod(String alertMethod) { this.alertMethod = alertMethod; }

    public Integer getEnabled() { return enabled; }
    public void setEnabled(Integer enabled) { this.enabled = enabled; }
}